bin_PROGRAMS = client_sts

client_sts_SOURCES = \
	main.cpp \
	serverservice.h \
	serverservice.cpp \
	servercallbackhandler.h \
	servercallbackhandlerguiimpl.h \
	servercallbackhandlerguiimpl.cpp \
	gui/main_window.h \
	gui/main_window.cpp \
	gui/login_dialog.h \
	gui/login_dialog.cpp \
	gui/screencasting_window.h \
	gui/screencasting_window.cpp \
	media/capture_workspace.h \
	media/capture_workspace_x11_alsa_impl.h \
	media/capture_workspace_x11_alsa_impl.cpp \
	media/packet_queue.h \
	media/packet_queue.cpp \
	media/video_player.h \
	media/video_player.cpp
	
client_sts_LDADD = \
	../common/libcommon.a \
	$(GTKMM_LIBS) \
	$(GLADEMM_LIBS) \
	$(LOG4CXX_LIBS) \
	$(LIBXML_LIBS) \
	$(FFMPEG_LIBS) \
	$(SDL_LIBS)

client_sts_CPPFLAGS = \
	-I../common \
	$(GTKMM_CFLAGS) \
	$(GLADEMM_CFLAGS) \
	$(LOG4CXX_CFLAGS) \
	$(FFMPEG_CFLAGS) \
	$(LIBXML_CFLAGS) \
	$(SDL_CFLAGS)  

ui_DATA = \
	gui/glade/ui.glade

log4cxx_DATA = \
	log4cxx/clientStsLog4CxxConfig.xml

uidir = \
	$(pkgdatadir)/gui/glade/

log4cxxdir = \
	$(pkgdatadir)/log4cxx

INCLUDES = \
	-DCLIENT_STS_UI_DIR=\""$(uidir)"\" \
	-DCLIENT_STS_LOG4CXX_DIR=\""$(log4cxxdir)"\" \
	-DCLIENT_STS_LOG4CXX_FILENAME=\""$(log4cxx_DATA)"\" \
	-DCLIENT_STS_UI_FILENAME=\""$(ui_DATA)"\" \
	-DCLIENT_STS_DATA_BASE_DIR=\""$(pkgdatadir)"\"

EXTRA_DIST = \
	$(ui_DATA) \
	$(log4cxx_DATA)